<div class="col-xs-12 col-sm-8 col-md-8 col-lg-8">
    <?php 
        $breadCum = array(
            array(
                'title' => $nodeType['NodeType']['name'],
                'link' => 'newspaper_activities',
                'params' => array('hoat-dong-usis')
            ),
            array(
                'title' => $term['Term']['name'],
                'link' => null,
                'params' => null
            )
        );
    ?>
    <?php echo $this->element('breadcum',array('pass' => $breadCum));?>
    <!-- block 2 -->
    <div class="block-tab">
        <div class="tabpanel-cus" role="tabpanel">
            <!-- Nav tabs -->
            <?php if(!empty($content)):?>
                <ul class="nav nav-tabs mytabs-cus mytabs-nbdcus">
                    <li class="item active"><a href="#item-11" data-toggle="tab"><?php echo $term['Term']['name'];?></a></li>
                </ul>
                <?php endif;?>
            <!-- Tab panes -->
            <div class="tab-content">
                <div class="tab-pane tab-pane-bgtop fade in active" id="item-11">
                    <div class="tabs-pane-content-full">
                        <?php if(!empty($content)):?>
                            <ul class="list-news">
                                <?php foreach($content as $key => $values):?>
                                    <?php
                                        if((!empty($values['Node']['field_image_default']))&&(file_exists(WWW_ROOT . '/img/' . $values['Node']['field_image_default'])))
                                        {
                                            $thumb_pro = $values['Node']['field_image_default'];
                                        }
                                        else
                                        {
                                            $thumb_pro = 'no_image.jpg';
                                        }
                                    ?>
                                    <li class="list-news-item">
                                        <a href="<?php echo $this->Html->url(array('plugin'=>'View','controller'=>'View','action'=>'newspaper_activities',$term['Term']['alias'],$values['Node']['alias']));?>" class="list-thumbnail-content">
                                            <span class="title"><?php echo $values['Node']['title'];?></span>
                                            <span class="image-ct pull-left mr15">
                                                <img src="<?php echo $this->Html->webroot('/img/' . $thumb_pro);?>" alt="du an" height="110" width="auto">
                                            </span>
                                            <?php if(!empty($values['Node']['field_description'])):?>
                                                <span class="caption-content">
                                                    <span class="desc-text"><?php echo String::truncate($values['Node']['field_description'],300);?></span>
                                                </span>
                                                <?php endif;?>
                                        </a>
                                    </li>
                                    <?php endforeach;?>
                            </ul>
                            <?php else:?>
                            <?php echo $this->element('msg_data');?>
                            <?php endif;?>
                        <div class="paging-ct">
                            <ul class="pagination">
                                <?php echo $this->Paginator->numbers(array('separator' => '&nbsp;','tag' => 'li','currentClass' => 'active')); ?>
                            </ul>
                        </div>
                    </div>
                </div>
            </div>
        </div>
    </div>
    <!-- block 2 .end -->
</div>